<?php if (isset($restaurantList)) : ?>
<div class="title flex flex-align-center">
    <p class="flex-1"><img src="/skins/scenic/images/index-5.png"></p>
    <a href="javascript:;" class="a-more">更多餐饮 <i class="iconfont">&#xe629;</i></a>
</div>
<ul class="am-cf">
    <?php foreach($restaurantList as $value) : ?>
    <li>
        <a href="<?php echo site_url('scenic/info/index/'. $value->sid); ?>">
            <div class="pic">
                <img class="lazy" src="<?php echo $this->config->show_image_url($value->minipics, '300-300'); ?>" >
            </div>
            <div class="info">
                <p class="am-text-truncate"><?php echo $value->name_hanzi; ?></p>
            </div>
        </a>
    </li>
    <?php endforeach; ?>
</ul>

<?php endif; ?>